css: Add _gtk_style_property_get_count()
authorBenjamin Otte <otte@redhat.com>
Fri, 23 Dec 2011 13:30:59 +0000 (14:30 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 9 Jan 2012 17:37:49 +0000 (18:37 +0100)
gtk/gtkstyleproperty.c
gtk/gtkstylepropertyprivate.h

index f1738b15cc4384684a4ce3857bd875e29de05e57..681acf6de76f9202077c2840d23eec6aa4e53ab3 100644 (file)
@@ -2241,6 +2241,12 @@ border_color_default_value (GtkStyleProperties *props,
 
 /*** API ***/
 
+guint
+_gtk_style_property_get_count (void)
+{
+  return __n_style_properties;
+}
+
 static void
 css_string_funcs_init (void)
 {
index 5692490e2577a06499629c5046e8f8776922d1dc..fc52ae51cbbd78c5327aab510c9920da15eb8140 100644 (file)
@@ -63,6 +63,8 @@ struct _GtkStyleProperty
   GtkStyleUnsetFunc         unset_func;
 };
 
+guint                    _gtk_style_property_get_count     (void);
+
 const GtkStyleProperty * _gtk_style_property_lookup        (const char             *name);
 
 void                     _gtk_style_property_register      (GParamSpec             *pspec,